package com.example.shop.fgo.base;

import android.view.View;

import com.example.shop.library.base.BaseActivity;

/**
 * Created by Administrator on 2017/1/20.
 */

public abstract class YBaseActivity extends BaseActivity{

    @Override
    public void initOthers() {
        if (isNeedTitle()){
            setTitleLeft("返回", new View.OnClickListener() {
                @Override
                public void onClick(View v) {
                    finish();
                }
            });
        }
    }
}
